package com.alliky.classify.mvp.model;

import com.alliky.classify.mvp.contract.ClassifyContract;
import com.alliky.core.entity.vo.CategoryVO;
import com.alliky.core.entity.vo.GoodsVO;
import com.alliky.core.base.BaseModel;

import java.util.HashMap;
import java.util.List;

import io.reactivex.Observable;

/**
 * ================================================
 *
 * @Description: 描述
 * @Author: wxianing
 * @Date: 2022/7/13 17:29
 * ================================================
 */
public class ClassifyModel extends BaseModel implements ClassifyContract.Model {
    @Override
    public void onDestroy() {

    }

    @Override
    public Observable<List<CategoryVO>> getCategory(HashMap hashMap) {
        return mService.getCategory(hashMap);
    }

    @Override
    public Observable<List<GoodsVO>> getHotGoods(HashMap hashMap) {
        return mService.getHotGoods(hashMap);
    }
}
